﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    [DataContract]
    public class SI1305Data
    {
        [DataMember(Name = "ver")]
        public string Ver { get; set; }

        public SI1305Data(string ver) 
        {
            Ver = ver;
        }
    }

    [DataContract]
    public class SI1305InputModel
    {
        [DataMember(Name = "data")]
        public SI1305Data SI1305Data { get; set; }

        public SI1305InputModel(string ver)
        {
            SI1305Data = new SI1305Data(ver);
        }
    }

    /// <summary>
    /// 1305
    /// 医疗服务项目目录下载
    /// </summary>
    [DataContract]
    public class SI1305RequestModel: SIBaseRequestModel
    {
        public SI1305RequestModel(MedicalInsuranceOption medicalInsuranceOption, string ver) : base(medicalInsuranceOption)
        {
            Infno = "1305";
            Input = new SI1305InputModel(ver);
        }

        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI1305InputModel Input { get; set; }
    }
}
